package kr.hkit.powerjava.chapter11.Programming;

public class Graduate extends Student {

	private boolean teachAss;
	private double scholarshipRate;

	public Graduate() {
	}

	public Graduate(boolean teachAss, double scholarshipRate) {
		this.teachAss = teachAss;
		this.scholarshipRate = scholarshipRate;
	}

	public Graduate(int stdNum, String stdName, String stdMajor, int grade,
			int credit, boolean teachAss, double scholarshipRate) {
		super(stdNum, stdName, stdMajor, grade, credit);
		this.teachAss = teachAss;
		this.scholarshipRate = scholarshipRate;
	}

	public boolean isTeachAss() {
		return teachAss;
	}

	public void setTeachAss(boolean teachAss) {
		this.teachAss = teachAss;
	}

	public double getScholarshipRate() {
		return scholarshipRate;
	}

	public void setScholarshipRate(double scholarshipRate) {
		this.scholarshipRate = scholarshipRate;
	}

}
